package com.gaussian.property.module.biz.service.impl;

import com.gaussian.property.module.biz.domain.ProjectMonitorIndicatorConfig;
import com.gaussian.property.module.biz.entity.ProjectMonitorIndicator;
import com.gaussian.property.module.biz.mapper.ProjectMonitorIndicatorMapper;
import com.gaussian.property.module.biz.service.IProjectMonitorIndicatorService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 项目的监控指标 服务实现类
 * </p>
 *
 * @author songqi(13776346982)
 * @since 2024-09-29
 */
@Service
public class ProjectMonitorIndicatorServiceImpl extends ServiceImpl<ProjectMonitorIndicatorMapper, ProjectMonitorIndicator> implements IProjectMonitorIndicatorService {


    @Override
    public List<ProjectMonitorIndicatorConfig> getProjectMonitorIndicatorConfig(String moduleCode, String projectId) {
        return baseMapper.selectProjectMonitorIndicatorConfigByModuleCode(moduleCode, projectId);
    }
}
